x86, time: fix S3 suspend error
authorKeir Fraser <keir.fraser@citrix.com>
Sun, 1 Mar 2009 14:30:35 +0000 (14:30 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Sun, 1 Mar 2009 14:30:35 +0000 (14:30 +0000)
commit1c89143b630a5b3913fa19fe208ecc9874e24774
tree1f25f59cc3854164a449a556f7a5c628e4e765f6
parent1f4246974a907c831d4692e29f8e3bcae30efdcb
x86, time: fix S3 suspend error

platform_time_calibration() is invoked in S3 when irq is disabled,
which causes ASSERT() error in spin_lock_irq(). spin_lock_irqsave()
saves us.

Signed-off-by: Guanqun Lu <guanqun.lu@intel.com>
xen/arch/x86/time.c